<%
	//Description: Google Checkout configuration page
	//CreateTime: 2008-03-05
	//Author: chenshangxuan
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
	<TITLE>Google Checkout Payment Gateway Configuration</TITLE>
</head>
<body>
<content tag="heading">Google Checkout Payment Configuration</content>
<content tag="description">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	  <tr>
		<td width="29%" align="left"><span>Google Checkout Payment Configuration</span></td>
	    <td width="71%" align="right">
			<IMG alt="Google Checkout" src="<c:url value="/pages/system/${paymentGateway.gatewayIcon}"/>"/>
		</td>
	  </tr>
	  <tr>
	    <td align="left" colspan="2">
			<span>Note: </span>
			<ul style="padding-left:25px">
				<li>Please Regiseter a merchant account from <a href="http://checkout.google.com" target="_blank" style="color:red;text-decoration: underline">Google Checkout</a></li>
				<li>Fill the information below</li>
			</ul>
		</td>
	  </tr>
	</table>
</content>
<div class="blank8"></div>
<div class="box-content-wrap">
		<div class="box-content">
			<div class="top">
			    <div class="content-title">
			    	Google Checkout Payment Gateway Parameters Setting
			    </div>
		    </div>
			<div class="content">
				<form class="mainForm" name="configForm" method="post" action="paymentMethods.html">
					<table class="table-content" cellspacing="0" cellpadding="0" width="100%" border="0">
						<tr> 
							<th><span>Merchant ID:</span></th>
							<td>
								<input type="text" name="merId" id="merId" value="${paymentGateway.configData.merId}" class="form-inputbox" style="width:40%"/>
							</td>
						</tr>
						<tr> 
							<th><span>Merchant Key:</span></th>
							<td>
								<input type="text" name="merKey" id="merKey" class="form-inputbox" value="${paymentGateway.configData.merKey}" style="width:40%"/>
							</td>
						</tr>
						<tr> 
							<th><span>Test/Live Mode:</span></th>
							<td>
								<select name="testModel" style="width:200px" class="form-inputbox">
									<option value="Y" <c:if test="${paymentGateway.configData.testModel=='Y'}">selected</c:if>>Test</option>
									<option value="N" <c:if test="${paymentGateway.configData.testModel=='N'}">selected</c:if>>Live</option>
								</select>
							</td>
						</tr>		
						<tr>
						   <th>&nbsp;</th>
						  <td colspan="2">
						  		<input type="hidden" name="paymentGatewayId" value="${paymentGateway.paymentGatewayId}"/>
								<input type="hidden" name="doAction" value="saveConfigAction"/>
						  		<input class="btn-common" type="submit" value="<fmt:message key="button.save"/>"/>
						  		&nbsp;
								<input class="btn-common" type="button" value="<fmt:message  key="button.cancel"/>" onclick="location.href='<c:url value="/system/paymentMethods.html"/>';">
						  </td>
					  	</tr> 
					</table>
				</form>
			</div>
		</div>
	</div>
</body>
</html>
